﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using JXT.PrimaryKey.Batman.Collections;
using JXT.PrimaryKey.Batman.Domain.Models;
using JXT.PrimaryKey.Batman.Domain.Specifications;

namespace JXT.PrimaryKey.Batman.Domain.Repositories
{
    /// <summary>
    /// 默认存储接口
    /// </summary>
    /// <typeparam name="TEntity">模型对象</typeparam>
    public interface IRepository<TEntity> where TEntity : IEntity
    {
        /// <summary>
        /// 存储上下文对象
        /// </summary>
        RepositoryContext Context { get; }
    }
}
